package top.jandmla.excel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.jandmla.excel.bean.UserRole;
import top.jandmla.excel.pojo.UserRolePojo;
import top.jandmla.excel.util.result.BaseResult;

public interface UserRoleService extends IService<UserRole> {

    BaseResult<String> changeRole(UserRolePojo userRolePojo);

    BaseResult<String> deleteByUserId(UserRole userRole);

    BaseResult<String> insertUserRole(UserRole userRole);

    BaseResult<String> deleteByUser(UserRole userRole);
}
